﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.Dto.RcsDto;
using WCS_Entity.Dto.UpperSysDto;
using WCS_Entity.Entity;
using WCS_Entity.Entity.UpperSys;

namespace WCS_Service.Interface
{
    /// <summary>
    /// 上位系统APi接口配置服务
    /// </summary>
    public interface IUpperSysApiService : IBaseService<UpperSysServiceApiEntity>
    {
        #region 管理
        Task<UpperSysServiceApiDto> CreateUppserSysApiAsync(CreatUpperSysServiceApiDto dto);
        Task<UpperSysServiceApiDto> UpdateUppserSysApiAsync(UpdateUpperSysServiceApiDto dto);
        Task<UpperSysServiceApiDto> QueryUppserSysApiAsync(int id);
        Task<List<UpperSysServiceApiDto>> QueryAllUppserSysApiAsync();
        Task<List<UpperSysServiceApiDto>> QueryUppserSysApiBaseIdAsync(int id);
        Task<bool> DeleteUppserSysApi(int id);
        #endregion
    }
}
